< previous page page_623 next page >

Page 623
8160-0623a.gif
Figure 30.6
A Coolbar control.
Common Properties of the Coolbar Control
Table 30.5 lists the properties most commonly used with the Coolbar control and provides a description of each.
Table 30.5 Common Properties of the Coolbar Control.
PropertyDescription
AlignSpecifies where you want the Coolbar aligned. You can align it to the top, right, left, or bottom of the form on which its placed.
BandBordersSet this property to True if you want to have a slight border in between each of the different bands you create. I recommend that you set this a True value because it makes the control look better.
FixedOrderSet this property to True to allow the user to move the bands around at runtime. Set this property to False if you want to keep the bands in the location where you set them and not let the user move them around.
OrientationYou can set this property to Horizontal or Vertical. Obviously, if youre setting the Align property to either Left or Right, you need to set this property to Vertical, whereas if you set the Align property to either Top or Bottom, you set this property to Horizontal.
VariantHeightSet this property to True to allow each band to be a unique height. I recommend that this property be set to False because you typically dont want to have different control and/or picture heights on different toolbars.
BandsThis is the collection of Band objects. You can add or remove bands from this collection at runtime. You might do this if you want the user to be able to create and add his or her own toolbars to new bands on the Coolbar control.

(table continued on next page)

 
< previous page page_623 next page >

If you like this book, buy it!